<?
$real_path	= '';
require_once($real_path . 'classes/database.php');
require_once($real_path . 'classes/menu.php');
require_once($real_path . 'classes/form.php');
require_once($real_path . 'classes/generate_form.php');
require_once($real_path . 'classes/bbcode.php');
require_once($real_path . 'functions/functions.php');
require_once($real_path . 'functions/file_functions.php');
require_once($real_path . 'functions/date_functions.php');
require_once($real_path . 'functions/news_functions.php');
require_once($real_path . 'functions/rewrite_functions.php');
require_once($real_path . 'functions/pagebreak.php');

session_start();

// Language
// $lang_id		= 1;
$lang_id = getValue('lang_id', 'int', 'SESSION', 1);
//$lang_id = getValue('lang_id', 'int', 'GET', $lang_id);
$array_lang	= array_language();
// Get translate language
require_once($real_path . 'languages/' . $array_lang[$lang_id][0] . '.php');

// Variable configurations
require_once($real_path . 'includes/inc_config.php');
$lang_path = lang_path();